﻿using STHPMS1.ICore;
using STHPMS1.ICore.I_Core;
using STHPMS1.ICore.I_UI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;

namespace STHPMS1.Web.W_Core
{
    public class MyController : ApiController
    {
        private IScene _scene;
        protected IScene Scene
        {
            get
            {
                if (_scene==null)_scene=MyApp.Locator.GetInstance<IUIFactory>().GetPageScene();
                return _scene;
            }
        }
    }
}